package com.bourne.model;

import lombok.Data;

@Data
public class PageDomain {

    private Integer pageNum;

    private Integer pageSize;

    public PageDomain(Integer pageNum, Integer pageSize) {
        this.pageNum = pageNum == null ? 1 : pageNum;
        this.pageSize = pageSize == null ? 10 : pageSize;
    }
}
